Skip to content

add opera provider example#10

Open
andreigiura wants to merge 1 commit intomainfrom
ag-opera-provider
Open

add opera provider example#10
andreigiura wants to merge 1 commit intomainfrom
ag-opera-provider

Conversation

@andreigiura
Copy link
Contributor

No description provided.

SignableMessage,
Transaction,
TransactionPayload,
} from "@elrondnetwork/erdjs";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@multiversx/sdk-core instead of @elrondnetwork/erdjs

}

async logout() {
await this.provider.init();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it necessary to call init before logout ?

}

async signMessage() {
await this.provider.init();
Copy link
Contributor

@CiprianDraghici CiprianDraghici Feb 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that you call the provider.init function before every action. Can't be moved in the constructor to avoid calling this function many times?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants